﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XTeam.Document.Entities.Words;

namespace XTeam.Document.Factory.ServiceInterface
{
    public interface IWordsService
    {
        WordsEntity FindWord(string word);

        int UpdateWord(WordsEntity word);

        int AppendWord(WordsEntity word);

        IList<WordsEntity> Search(Func<WordsEntity, bool> filter, int pageIndex, int pageSize, out int totalRows);

        int DelWords(string[] words);
    }
}
